package com.example.project.vo.model;

import com.example.project.enums.ChangeTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChangePasswordVo {

    private ChangeTypeEnum changeType;

    @ApiModelProperty("通过邮箱修改密码（忘记密码）")
    private String email;

    @ApiModelProperty("通过邮箱修改密码（忘记密码的时候)")
    private String emailCode;

    @ApiModelProperty("旧密码（进入个人主页修改密码的时候需要)")
    private String ordPassword;

    @ApiModelProperty("新密码 1")
    private String newPasswordOne;

    @ApiModelProperty("新密码2 与新密码1 进行校验，")
    private String newPasswordTwo;

}


